package com.jdym.service.impl;

import com.jdym.entity.Check;
import com.jdym.mapper.CheckMapper;
import com.jdym.service.CheckService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 认证资质审核记录表 服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2021-09-20
 */
@Service
public class CheckServiceImpl extends ServiceImpl<CheckMapper, Check> implements CheckService {
    @Autowired
    CheckMapper checkMapper;

    @Override
    public int insertCertify(Check check) {
       return checkMapper.insertCertify(check);
    }

    @Override
    public Check selectStatus(int cheId) {
        return checkMapper.selectStatus(cheId);
    }
}
